package com.example.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.utils.R;
import com.example.system.entity.ChatRecord;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王鹤蒲
 * @since 2024-02-28
 */
public interface IChatRecordService extends IService<ChatRecord> {

    public ChatRecord add(ChatRecord chatRecord);

    public R findByUserName(String sender,String receiver);

    public R findUnreadNums(String receiver);

    public R selectOnlineInquiryPatientList(String sender);
}
